package com.boliq.lol.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.boliq.lol.R;
import com.boliq.lol.bean.imgBean;

import org.jetbrains.annotations.NotNull;

public class imgAdapter extends BaseQuickAdapter<imgBean, BaseViewHolder> {
    public imgAdapter(){
        super(R.layout.zhanjibang_me);
    }
    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, imgBean imgBean) {
        baseViewHolder.setImageResource(R.id.me_head,imgBean.getimage());
        baseViewHolder.setText(R.id.me_total,imgBean.gettotal());
        baseViewHolder.setText(R.id.tv_mine_win,imgBean.getwin());
        baseViewHolder.setText(R.id.tv_mine_threekill,imgBean.getthreekill());
        baseViewHolder.setText(R.id.tv_mine_MVP,imgBean.getMVP());
    }
}
